import request from '@/utils/request'
// 某个板卡数据
export function getComponentBoardLatestData(data) {
    return request({
        url: '/dpcomponentboardstatus/getLatestData',
        method: 'post',
        data: data || { datasourceindex: "" },
    })
}

export function getOneDPComponentLine(data) {
    return request({
        url: '/dpcomponentboardstatus/getOneComponentLine',
        method: 'post',
        data: data || { datasourceindex: "" },
    })
}